package cn.jiyun.service.impl;

import cn.jiyun.mapper.DriverChargingItemsMapper;
import cn.jiyun.pojo.DriverChargingItems;
import cn.jiyun.service.DriverChargingItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DriverChargingItemsServiceImpl implements DriverChargingItemsService {
    @Autowired
    private DriverChargingItemsMapper driverChargingItemsMapper;

    @Override
    public List<DriverChargingItems> findAll() {
        return driverChargingItemsMapper.findAll();
    }

    @Override
    public void updateById(DriverChargingItems driverChargingItems) {
        driverChargingItemsMapper.updateByid(driverChargingItems);
    }
}
